#ifndef _BUOLA_SCENE_GEODES_CCYLINDER_H_
#define _BUOLA_SCENE_GEODES_CCYLINDER_H_

#include <buola/scene/cgeode.h>

namespace buola { namespace scene {

class CCylinder : public CGeode
{
public:
    CCylinder(double pHeight,double pRadius,int pSegments=30,bool pZ=false);
    ~CCylinder();

    PBulletCollisionShape GetCollisionShape() override;

private:
    double mHeight,mRadius;
    bool mZ;
};

typedef intrusive_ptr<CCylinder> PCylinder;

/*namespace scene*/ } /*namespace buola*/ }

#endif
